package merchant.service;

import java.util.Map;

import merchant.dao.ChargeDAO;
import merchant.dao.SummaryOfCharge;

import hackathon1212.ServletPojoAdapter;

public class ShowSoc extends ServletPojoAdapter {

	private static final long serialVersionUID = -6148259416368685901L;

	protected SummaryOfCharge getBusinessMethod(Map<String, String[]> params){
		final long socId = Long.parseLong(params.get("socId")[0]);
		return ChargeDAO.get().getSOCById(socId);
	}

}
